const express = require('express')

const router = express.Router()

// 导入权限路由处理函数模块
const categoryHandle = require('../router_handler/goods')
    // 获取列表
router.get('/goods', categoryHandle.goods)
    //根据id删除
router.delete('/goods/:id', categoryHandle.deletegoods)
    //
router.post('/goods', categoryHandle.selectgoods)
module.exports = router